package org.example.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

import java.util.Date;

@Data
@RequiredArgsConstructor
@NoArgsConstructor(force = true)
public class borrow {
    @NonNull
    private String id;
    @NonNull
    private String user_id;
    @NonNull
    private String book_id;
    private Date borrow_date;
    private Date return_date;
}
